﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Telerik.JustMock;
using DelonixRegiaHMSys.Core.Services;
using DelonixRegiaHMSys.Core.Interfaces;
using DelonixRegiaHMSys.Core.Models;

namespace DelonixRegiaHMSys.UnitTest.StaffManagement
{
    [TestClass]
    public class DeleteStaffRecord
    {
        [TestMethod]
        public void DeleteStaff()
        {
            var mockStaffQuery = Mock.Create<IStaffQuery>();

            var stservice = new stServices(mockStaffQuery);

            stservice.DeleteStaff("");

            Mock.Assert(() => mockStaffQuery.DeleteStaff(Arg.IsAny<string>()));
        }
    }
}
